<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{$webcache['setting']['sitename']} {$webglobal[htmltitle]}</title>
<meta http-equiv="Content-Type" content="text/html; charset={$webconfig[webcharset]}" />
<meta name="robots" content="all,index" />
<meta name="author" content="lfly,brent" />
<meta name="keywords" content="{if !empty($webglobal[htmlkeyword])}{echo implode(',', $webglobal[htmlkeyword])},{/if}" />
<meta name="description" content="{if !empty($webglobal[htmldescription])}{$webglobal[htmldescription]}{else}{/if}" />
{templatecss style}
<script type="text/javascript">var WEBURLPATH="{WEBURLPATH}";</script>
<script type="text/javascript" src="{WEBURLPATH}/javascript/jquery-1.7.js"></script>
<script type="text/javascript" src="{WEBURLPATH}/javascript/JSelect.js"></script>
<!--{if !empty($webglobal[htmlhead])}-->{echo implode("\n", $webglobal[htmlhead])}<!--{/if}-->
<script language="javascript" type="text/javascript">$(document).ready(function() {$("#citySelect").JSelect();$("#mainMiddle").height($(document).height()-129);});</script>
</head>

<body{if defined('PAGESCRIPT') && (PAGESCRIPT=='news_type' || PAGESCRIPT == 'vip_view')} class="channel"{elseif (defined('PAGESCRIPT') && PAGESCRIPT=='news_list')} class="articlelist"{elseif (defined('PAGESCRIPT') && PAGESCRIPT=='news')} class="index"{elseif (defined('PAGESCRIPT') && PAGESCRIPT=='news_list_pic')} class="picboxlist"{elseif (defined('PAGESCRIPT') && PAGESCRIPT=='news_article')} class="articleview"{elseif (defined('PAGESCRIPT') && PAGESCRIPT=='news_image')} class="picboxview"{/if}>
<div id="mainTop">
	<div class="logoBox">
		<div id="logo"><img src="{WEBURLPATH}/images/247viplogo.gif" alt="247vip" /></div>
		<div id="cityBox">
			<select id="citySelect" class="mySelect" onchange="window.location.href='{WEBURLPATH}/index.php?city='+this.options[selectedIndex].value">
				<!--{if empty($webglobal[citydata])}-->
				<option value="">全国</option>
				<!--{/if}-->
				<!--{loop $webglobal[citydata] $tempkey $tempvalue}-->
					<option value="{$tempvalue[short_english]}"{if $webglobal['curcity']==$tempvalue['short_english']} selected="selected"{/if}>{$tempvalue[name]}</option>
				<!--{/loop}-->
			</select>
		</div>
		<div id="topActBox">
			<span id="user_info">
				<!--{if $user[base_uid]>0}-->
					<!--{if $user[base_type]==1}-->
						商家{$user[base_username]}，<a href="{WEBURLPATH}/mycom.php">企业商铺信息</a> | <a href="{WEBURLPATH}/mycom.php?action=couponlist">优惠券管理</a> | <a href="{WEBURLPATH}/login.php?action=exit">退出</a>
					<!--{else}-->
						亲爱的{$user[base_username]}，<a href="{WEBURLPATH}/my.php">个人信息</a> | <a href="{WEBURLPATH}/my.php?action=favorite">我的收藏</a> | <a href="{WEBURLPATH}/my.php?action=credit">我的积分</a> | <a href="{WEBURLPATH}/login.php?action=exit">退出</a>
					<!--{/if}-->
				<!--{else}-->
					<a href="{WEBURLPATH}/login.php">登录</a> | <a href="{WEBURLPATH}/register.php">个人注册</a> | <a href="{WEBURLPATH}/register.php?action=regcom">商家注册</a>
				<!--{/if}-->
			</span>
			<a id="helpA" href="{WEBURLPATH}/sitemap.php">网站地图</a>
		</div>
	</div>
	<div class="navBox">
		<ul class="topNav">
			<li><a href="{WEBURLPATH}/index.php">首&nbsp;&nbsp;页</a></li>
			<li><a href="{WEBURLPATH}/coupon.php">优惠奖券</a></li>
			<li><a href="{WEBURLPATH}/company.php">热门商铺</a></li>
			<li><a href="{WEBURLPATH}/checkin.php">签&nbsp;&nbsp;到</a></li>
			<li><a href="{WEBURLPATH}/news.php">新&nbsp;&nbsp;闻</a></li>
			<li><a href="{WEBURLPATH}/brand.php">VIP品牌</a></li>
			<li class="last"><a href="{WEBURLPATH}/change.php">积分兑换</a></li>
		</ul>
	</div>
</div>
<div id="mainMiddle">
	<div class="mainContBox">
		<div {if defined('PAGESCRIPT') && PAGESCRIPT=='index'}id="mainheight"{else}id="subPage"{/if} class="mainContTop">